package ie.timalb.chess.main.core.movement.types;

import java.util.ArrayList;
import java.util.Iterator;

public class TypesOfMovement 
{
	private ArrayList<TypeOfMovement> typesOfMovement;	

	public TypesOfMovement() {
		typesOfMovement = new ArrayList<TypeOfMovement>();
	}

	public void add(TypeOfMovement typeOfMovement) {
		getTypesOfMovement().add(typeOfMovement);		
	}

	public Iterator<TypeOfMovement> iterator() {
		return getTypesOfMovement().iterator();
	}
	
	private ArrayList<TypeOfMovement> getTypesOfMovement() {
		return typesOfMovement;
	}
}
